import { UserLayout, BlankLayout } from '@/components/layouts'
/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/user',
    component: UserLayout,
    redirect: '/user/login',
    hidden: true,
    children: [
      {
        path: 'login',
        name: 'login',
        components: {
          default: UserLayout,
          login: () =>
            import(/* webpackChunkName: "user" */ '@/views/user/Login')
        }
      },
    ]
  },
  {
    path: '/404',
    component: () =>
      import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  }
]
